↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
DELETE_IN_GAA(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_GAA(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
DELETE_IN_GAA(X, tree(X, Left, Right), tree(Y, Left, Right1)) → DELMIN_IN_AAA(Right, Y, Right1)
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_AAA(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → DELMIN_IN_AAA(Left, Y, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U7_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_GAA(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → DELETE_IN_GAA(X, Left, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → LESS_IN_AG(Y, X)
LESS_IN_AG(s(X), s(Y)) → U7_AG(X, Y, less_in_ag(X, Y))
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_GAA(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → DELETE_IN_GAA(X, Right, Right1)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
DELETE_IN_GAA(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_GAA(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
DELETE_IN_GAA(X, tree(X, Left, Right), tree(Y, Left, Right1)) → DELMIN_IN_AAA(Right, Y, Right1)
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_AAA(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → DELMIN_IN_AAA(Left, Y, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U7_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_GAA(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → DELETE_IN_GAA(X, Left, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → LESS_IN_AG(Y, X)
LESS_IN_AG(s(X), s(Y)) → U7_AG(X, Y, less_in_ag(X, Y))
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_GAA(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → DELETE_IN_GAA(X, Right, Right1)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AG(s(Y)) → LESS_IN_AG(Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X)) → LESS_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → DELMIN_IN_AAA(Left, Y, Left1)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → DELMIN_IN_AAA(Left, Y, Left1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PrologToPiTRSProof
DELMIN_IN_AAA → DELMIN_IN_AAA
DELMIN_IN_AAA → DELMIN_IN_AAA
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → DELETE_IN_GAA(X, Right, Right1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → DELETE_IN_GAA(X, Left, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → DELETE_IN_GAA(X, Right, Right1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → DELETE_IN_GAA(X, Left, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
DELETE_IN_GAA(X) → U2_GAA(X, less_in_ga(X))
U2_GAA(X, less_out_ga) → DELETE_IN_GAA(X)
DELETE_IN_GAA(X) → U4_GAA(X, less_in_ag(X))
U4_GAA(X, less_out_ag(Y)) → DELETE_IN_GAA(X)
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U7_ag(less_in_ag(Y))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U7_ga(less_in_ga(X))
U7_ag(less_out_ag(X)) → less_out_ag(s(X))
U7_ga(less_out_ga) → less_out_ga
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(less_in_ag(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
DELETE_IN_GAA(X) → U2_GAA(X, less_in_ga(X))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(less_in_ag(x0)))
U2_GAA(X, less_out_ga) → DELETE_IN_GAA(X)
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0))
U4_GAA(X, less_out_ag(Y)) → DELETE_IN_GAA(X)
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U7_ag(less_in_ag(Y))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U7_ga(less_in_ga(X))
U7_ag(less_out_ag(X)) → less_out_ag(s(X))
U7_ga(less_out_ga) → less_out_ga
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(less_in_ga(x0)))
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ PrologToPiTRSProof
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga)
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(less_in_ga(x0)))
U2_GAA(X, less_out_ga) → DELETE_IN_GAA(X)
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(less_in_ag(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0))
U4_GAA(X, less_out_ag(Y)) → DELETE_IN_GAA(X)
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U7_ag(less_in_ag(Y))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U7_ga(less_in_ga(X))
U7_ag(less_out_ag(X)) → less_out_ag(s(X))
U7_ga(less_out_ga) → less_out_ga
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
U4_GAA(s(z0), less_out_ag(0)) → DELETE_IN_GAA(s(z0))
U4_GAA(s(z0), less_out_ag(x1)) → DELETE_IN_GAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ PrologToPiTRSProof
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(less_in_ga(x0)))
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga)
U4_GAA(s(z0), less_out_ag(0)) → DELETE_IN_GAA(s(z0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(less_in_ag(x0)))
U2_GAA(X, less_out_ga) → DELETE_IN_GAA(X)
U4_GAA(s(z0), less_out_ag(x1)) → DELETE_IN_GAA(s(z0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U7_ag(less_in_ag(Y))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U7_ga(less_in_ga(X))
U7_ag(less_out_ag(X)) → less_out_ag(s(X))
U7_ga(less_out_ga) → less_out_ga
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
U2_GAA(0, less_out_ga) → DELETE_IN_GAA(0)
U2_GAA(s(z0), less_out_ga) → DELETE_IN_GAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga)
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(less_in_ga(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(less_in_ag(x0)))
U4_GAA(s(z0), less_out_ag(0)) → DELETE_IN_GAA(s(z0))
U2_GAA(0, less_out_ga) → DELETE_IN_GAA(0)
U4_GAA(s(z0), less_out_ag(x1)) → DELETE_IN_GAA(s(z0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0))
U2_GAA(s(z0), less_out_ga) → DELETE_IN_GAA(s(z0))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U7_ag(less_in_ag(Y))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U7_ga(less_in_ga(X))
U7_ag(less_out_ag(X)) → less_out_ag(s(X))
U7_ga(less_out_ga) → less_out_ga
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ PrologToPiTRSProof
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga)
U2_GAA(0, less_out_ga) → DELETE_IN_GAA(0)
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U7_ag(less_in_ag(Y))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U7_ga(less_in_ga(X))
U7_ag(less_out_ag(X)) → less_out_ag(s(X))
U7_ga(less_out_ga) → less_out_ga
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ PrologToPiTRSProof
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga)
U2_GAA(0, less_out_ga) → DELETE_IN_GAA(0)
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonTerminationProof
↳ QDP
↳ PrologToPiTRSProof
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga)
U2_GAA(0, less_out_ga) → DELETE_IN_GAA(0)
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga)
U2_GAA(0, less_out_ga) → DELETE_IN_GAA(0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(less_in_ga(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(less_in_ag(x0)))
U4_GAA(s(z0), less_out_ag(0)) → DELETE_IN_GAA(s(z0))
U4_GAA(s(z0), less_out_ag(x1)) → DELETE_IN_GAA(s(z0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0))
U2_GAA(s(z0), less_out_ga) → DELETE_IN_GAA(s(z0))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U7_ag(less_in_ag(Y))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U7_ga(less_in_ga(X))
U7_ag(less_out_ag(X)) → less_out_ag(s(X))
U7_ga(less_out_ga) → less_out_ga
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0)
U7_ga(x0)
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(less_in_ga(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(less_in_ag(x0)))
U4_GAA(s(z0), less_out_ag(0)) → DELETE_IN_GAA(s(z0))
U4_GAA(s(z0), less_out_ag(x1)) → DELETE_IN_GAA(s(z0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0))
U2_GAA(s(z0), less_out_ga) → DELETE_IN_GAA(s(z0))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U7_ag(less_in_ag(Y))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U7_ga(less_in_ga(X))
U7_ag(less_out_ag(X)) → less_out_ag(s(X))
U7_ga(less_out_ga) → less_out_ga
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
DELETE_IN_GAA(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_GAA(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
DELETE_IN_GAA(X, tree(X, Left, Right), tree(Y, Left, Right1)) → DELMIN_IN_AAA(Right, Y, Right1)
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_AAA(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → DELMIN_IN_AAA(Left, Y, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U7_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_GAA(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → DELETE_IN_GAA(X, Left, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → LESS_IN_AG(Y, X)
LESS_IN_AG(s(X), s(Y)) → U7_AG(X, Y, less_in_ag(X, Y))
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_GAA(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → DELETE_IN_GAA(X, Right, Right1)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
DELETE_IN_GAA(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_GAA(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
DELETE_IN_GAA(X, tree(X, Left, Right), tree(Y, Left, Right1)) → DELMIN_IN_AAA(Right, Y, Right1)
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_AAA(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → DELMIN_IN_AAA(Left, Y, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U7_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_GAA(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → DELETE_IN_GAA(X, Left, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → LESS_IN_AG(Y, X)
LESS_IN_AG(s(X), s(Y)) → U7_AG(X, Y, less_in_ag(X, Y))
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_GAA(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → DELETE_IN_GAA(X, Right, Right1)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_AG(s(Y)) → LESS_IN_AG(Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
LESS_IN_GA(s(X)) → LESS_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → DELMIN_IN_AAA(Left, Y, Left1)
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
DELMIN_IN_AAA(tree(X, Left, X1), Y, tree(X, Left1, X2)) → DELMIN_IN_AAA(Left, Y, Left1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
DELMIN_IN_AAA → DELMIN_IN_AAA
DELMIN_IN_AAA → DELMIN_IN_AAA
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → DELETE_IN_GAA(X, Right, Right1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → DELETE_IN_GAA(X, Left, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
delete_in_gaa(X, tree(X, void, Right), Right) → delete_out_gaa(X, tree(X, void, Right), Right)
delete_in_gaa(X, tree(X, Left, void), Left) → delete_out_gaa(X, tree(X, Left, void), Left)
delete_in_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1)) → U1_gaa(X, Left, Right, Y, Right1, delmin_in_aaa(Right, Y, Right1))
delmin_in_aaa(tree(Y, void, Right), Y, Right) → delmin_out_aaa(tree(Y, void, Right), Y, Right)
delmin_in_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2)) → U6_aaa(X, Left, X1, Y, Left1, X2, delmin_in_aaa(Left, Y, Left1))
U6_aaa(X, Left, X1, Y, Left1, X2, delmin_out_aaa(Left, Y, Left1)) → delmin_out_aaa(tree(X, Left, X1), Y, tree(X, Left1, X2))
U1_gaa(X, Left, Right, Y, Right1, delmin_out_aaa(Right, Y, Right1)) → delete_out_gaa(X, tree(X, Left, Right), tree(Y, Left, Right1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U2_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U3_gaa(X, Y, Left, Right, Left1, delete_in_gaa(X, Left, Left1))
delete_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U4_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U5_gaa(X, Y, Left, Right, Right1, delete_in_gaa(X, Right, Right1))
U5_gaa(X, Y, Left, Right, Right1, delete_out_gaa(X, Right, Right1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U3_gaa(X, Y, Left, Right, Left1, delete_out_gaa(X, Left, Left1)) → delete_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
U4_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → DELETE_IN_GAA(X, Right, Right1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U4_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
U2_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → DELETE_IN_GAA(X, Left, Left1)
DELETE_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U2_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U7_ag(X, Y, less_in_ag(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U7_ga(X, Y, less_in_ga(X, Y))
U7_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
U4_GAA(X, less_out_ag(Y, X)) → DELETE_IN_GAA(X)
DELETE_IN_GAA(X) → U2_GAA(X, less_in_ga(X))
U2_GAA(X, less_out_ga(X)) → DELETE_IN_GAA(X)
DELETE_IN_GAA(X) → U4_GAA(X, less_in_ag(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U7_ag(Y, less_in_ag(Y))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U7_ga(X, less_in_ga(X))
U7_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(x0, less_in_ag(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0, s(x0)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
U4_GAA(X, less_out_ag(Y, X)) → DELETE_IN_GAA(X)
U2_GAA(X, less_out_ga(X)) → DELETE_IN_GAA(X)
DELETE_IN_GAA(X) → U2_GAA(X, less_in_ga(X))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(x0, less_in_ag(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0, s(x0)))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U7_ag(Y, less_in_ag(Y))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U7_ga(X, less_in_ga(X))
U7_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(x0, less_in_ga(x0)))
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga(0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
U4_GAA(X, less_out_ag(Y, X)) → DELETE_IN_GAA(X)
U2_GAA(X, less_out_ga(X)) → DELETE_IN_GAA(X)
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga(0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(x0, less_in_ag(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0, s(x0)))
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(x0, less_in_ga(x0)))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U7_ag(Y, less_in_ag(Y))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U7_ga(X, less_in_ga(X))
U7_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
U4_GAA(s(z0), less_out_ag(0, s(z0))) → DELETE_IN_GAA(s(z0))
U4_GAA(s(z0), less_out_ag(x1, s(z0))) → DELETE_IN_GAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
U4_GAA(s(z0), less_out_ag(0, s(z0))) → DELETE_IN_GAA(s(z0))
U2_GAA(X, less_out_ga(X)) → DELETE_IN_GAA(X)
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(x0, less_in_ag(x0)))
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga(0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0, s(x0)))
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(x0, less_in_ga(x0)))
U4_GAA(s(z0), less_out_ag(x1, s(z0))) → DELETE_IN_GAA(s(z0))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U7_ag(Y, less_in_ag(Y))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U7_ga(X, less_in_ga(X))
U7_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
U2_GAA(0, less_out_ga(0)) → DELETE_IN_GAA(0)
U2_GAA(s(z0), less_out_ga(s(z0))) → DELETE_IN_GAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
U4_GAA(s(z0), less_out_ag(0, s(z0))) → DELETE_IN_GAA(s(z0))
U2_GAA(s(z0), less_out_ga(s(z0))) → DELETE_IN_GAA(s(z0))
U2_GAA(0, less_out_ga(0)) → DELETE_IN_GAA(0)
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga(0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(x0, less_in_ag(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0, s(x0)))
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(x0, less_in_ga(x0)))
U4_GAA(s(z0), less_out_ag(x1, s(z0))) → DELETE_IN_GAA(s(z0))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U7_ag(Y, less_in_ag(Y))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U7_ga(X, less_in_ga(X))
U7_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
U2_GAA(0, less_out_ga(0)) → DELETE_IN_GAA(0)
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga(0))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U7_ag(Y, less_in_ag(Y))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U7_ga(X, less_in_ga(X))
U7_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
U2_GAA(0, less_out_ga(0)) → DELETE_IN_GAA(0)
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga(0))
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonTerminationProof
↳ QDP
U2_GAA(0, less_out_ga(0)) → DELETE_IN_GAA(0)
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga(0))
U2_GAA(0, less_out_ga(0)) → DELETE_IN_GAA(0)
DELETE_IN_GAA(0) → U2_GAA(0, less_out_ga(0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ NonTerminationProof
U4_GAA(s(z0), less_out_ag(0, s(z0))) → DELETE_IN_GAA(s(z0))
U2_GAA(s(z0), less_out_ga(s(z0))) → DELETE_IN_GAA(s(z0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(x0, less_in_ag(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0, s(x0)))
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(x0, less_in_ga(x0)))
U4_GAA(s(z0), less_out_ag(x1, s(z0))) → DELETE_IN_GAA(s(z0))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U7_ag(Y, less_in_ag(Y))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U7_ga(X, less_in_ga(X))
U7_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ag(x0)
less_in_ga(x0)
U7_ag(x0, x1)
U7_ga(x0, x1)
U4_GAA(s(z0), less_out_ag(0, s(z0))) → DELETE_IN_GAA(s(z0))
U2_GAA(s(z0), less_out_ga(s(z0))) → DELETE_IN_GAA(s(z0))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), U7_ag(x0, less_in_ag(x0)))
DELETE_IN_GAA(s(x0)) → U4_GAA(s(x0), less_out_ag(0, s(x0)))
DELETE_IN_GAA(s(x0)) → U2_GAA(s(x0), U7_ga(x0, less_in_ga(x0)))
U4_GAA(s(z0), less_out_ag(x1, s(z0))) → DELETE_IN_GAA(s(z0))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U7_ag(Y, less_in_ag(Y))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U7_ga(X, less_in_ga(X))
U7_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U7_ga(X, less_out_ga(X)) → less_out_ga(s(X))